$OpenBSD: patch-scheduler_Makefile,v 1.15 2016/09/19 09:16:51 ajacoutot Exp $
--- scheduler/Makefile.orig	Wed Sep 14 01:39:47 2016
+++ scheduler/Makefile	Sat Sep 17 15:26:03 2016
@@ -153,21 +153,6 @@ install-data:
 		echo Creating $(SERVERROOT)/ssl...; \
 		$(INSTALL_DIR) -m 700 -g $(CUPS_GROUP) $(SERVERROOT)/ssl; \
 	fi
-	if test "$(STATEDIR)" != "$(SERVERROOT)"; then \
-		echo Creating $(STATEDIR)...; \
-		$(INSTALL_DIR) -m 755 $(STATEDIR); \
-	fi
-	echo Creating $(STATEDIR)/certs...
-	$(INSTALL_DIR) -m 511 -o $(CUPS_USER) -g $(CUPS_PRIMARY_SYSTEM_GROUP) \
-		$(STATEDIR)/certs
-	echo Creating $(LOGDIR)...
-	$(INSTALL_DIR) -m 755 $(LOGDIR)
-	echo Creating $(REQUESTS)...
-	$(INSTALL_DIR) -m 710 -g $(CUPS_GROUP) $(REQUESTS)
-	echo Creating $(REQUESTS)/tmp...
-	$(INSTALL_DIR) -m 1770 -g $(CUPS_GROUP) $(REQUESTS)/tmp
-	echo Creating $(CACHEDIR)...
-	$(INSTALL_DIR) -m 770 -g $(CUPS_GROUP) $(CACHEDIR)
 	if test "x$(INITDIR)" != x; then \
 		echo Installing init scripts...; \
 		$(INSTALL_DIR) -m 755 $(BUILDROOT)$(INITDIR)/init.d; \
@@ -428,11 +413,9 @@ cups-lpd:	cups-lpd.o ../cups/$(LIBCUPS)
 # libcupsmime.so.1
 #
 
-libcupsmime.so.1:	$(LIBOBJS)
+libcupsmime.so.${LIBcupsmime_VERSION}:	$(LIBOBJS)
 	echo Linking $@...
 	$(DSO) $(ARCHFLAGS) $(DSOFLAGS) -o $@ $(LIBOBJS) $(LIBS)
-	$(RM) `basename $@ .1`
-	$(LN) $@ `basename $@ .1`
 
 
 #
